/*
redux最核心的管理对象模块
 */
import {createStore, applyMiddleware} from 'redux'; //store,异步
import thunk from 'redux-thunk';
import {composeWithDevTools} from 'redux-devtools-extension'; //试图工具

import reducers from './reducers';

//向外暴露store对象
export default createStore(reducers, composeWithDevTools(applyMiddleware(thunk)));